package easy.两数之和;

import java.util.Arrays;

public class Main {
    public static void main(String[] args) {
        int[] nums = {2, 15, 11, 7};
        int target = 9;

        int[] myAnswer = TwoSum.myAnswer(nums, target);

        int[] otherAnswer = TwoSum.otherAnswer(nums, target);

        System.out.println("myAnswer：" + Arrays.toString(myAnswer));
        System.out.println("otherAnswer：" + Arrays.toString(otherAnswer));

    }
}
